<?php

namespace model;
class Relation{
    use \dk\traits\Singleton;
    
    protected $conf;
    protected $relation;
    
    public function getRatlion(){
        if(!$this->relation){
            $this->relation = new \dk\core\Jrelations();
            $this->relation->addRelationByconf($this->getConfig());
        }
        return $this->relation;
    }
    
    protected function getConfig(){}
}